package annotation;

import lombok.extern.slf4j.Slf4j;

@Slf4j
@Hours(hours = 4)
@Hours(hours = 4.5)
@Hours(hours = 2)
public class Worker {

    public static void main(String[] args) {

        Hours[] hours = Worker.class.getAnnotationsByType(Hours.class);
        for(Hours h:hours){
            log.error(h.toString());
        }
    }

}
